package org.corey.wyp.vo;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Entity
@DiscriminatorValue("DAY")
public class DaySettingTemplate extends SettingTemplate {
	
	@OneToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "SETTING_ID")
	private DaySetting dayeSetting;

	public DaySetting getDayeSetting() {
		return dayeSetting;
	}

	public void setDayeSetting(DaySetting dayeSetting) {
		this.dayeSetting = dayeSetting;
	}

}
